package com.crm.customers.dao.impl;

import org.springframework.stereotype.Repository;

import com.crm.base.dao.BaseDao;
import com.crm.customers.dao.CustomerQualificationUserDao;
import com.crm.customers.model.CustomerQualificationUser;
@Repository("customerQualificationUserDao")
public class CustomerQualificationUserDaoImpl  extends BaseDao implements CustomerQualificationUserDao {

	private static final String MAPPER_NAMESAPCE = "CustomerQualificationUserMapper.";
	
	@Override
	public int insert(CustomerQualificationUser cqu) {
		return insert(MAPPER_NAMESAPCE+"insert", cqu);
	}

	@Override
	public int update(CustomerQualificationUser cqu) {
		return update(MAPPER_NAMESAPCE+"update", cqu);
	}

	@Override
	public CustomerQualificationUser getByParams(CustomerQualificationUser cqu) {
		return selectOne(MAPPER_NAMESAPCE+"getByParams", cqu);
	}

	@Override
	public int delete(CustomerQualificationUser cqu) {
		return update(MAPPER_NAMESAPCE+"delete", cqu);
	}

}
